package cn.ydt.ydt.community.webapi;

import cn.ydt.ydt.common.config.CommonConfiguration;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Import;
import org.springframework.context.annotation.ComponentScan;

@Import(CommonConfiguration.class)
@MapperScan("cn.ydt.ydt.community.mapper")
@SpringBootApplication(scanBasePackages = {"cn.ydt.ydt.community", "cn.ydt.ydt.community.webapi"})
@EnableDubbo
public class YdtCommunityWebapiApplication {

    public static void main(String[] args) {
        SpringApplication.run(YdtCommunityWebapiApplication.class, args);
    }

}
